﻿using System;
using Autodesk.Revit.DB;

namespace YArchitech.Revit.MEP.Opening
{
	public class BoundingBoxUtils
	{
		public static bool UnIntersect(BoundingBoxUV b1, BoundingBoxUV b2)
		{
			return b1.Min.U > b2.Max.U || b1.Max.U < b2.Min.U || b1.Min.V > b2.Max.V || b1.Max.V < b2.Min.V;
		}
	}
}
